Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

105
Vistas
WebRTC - Screen recording | Audio not recording - issue

I'm attempting to create a simple WebRTC with audio and video screen recording; the video appears to be fine, but the audio is missing from the file, rest of the others functionalities working absolutely fine. Did anyone face the same issue? any solution?

function startRecording1(stream) {
        mediaRecorder = new MediaRecorder(stream, {
            mimeType: 'video/webm;codecs=vp9',
            audio: true,
            video: true
        });

        mediaRecorder.start(1000);
        toggleRecordingIcons(true);

        mediaRecorder.ondataavailable = function (e) {
            recordedStream.push(e.data);
        };

        mediaRecorder.onstop = function () {
            toggleRecordingIcons(false);
            //h.saveRecordedStream(recordedStream, username);
            uploadInS3Bucket(recordedStream);
            
        };

        mediaRecorder.onerror = function (e) {
            console.error(e);
        };
    }

// Call this function here

     getUserFullMedia().then((videoStream) => {
                        startRecording1(videoStream);
                    }).catch(() => { });



     getUserFullMedia() {
    
            if (this.userMediaAvailable()) {
    
                return navigator.mediaDevices.getUserMedia({
                    video: true,
                    audio: {
                        echoCancellation: true,
                        noiseSuppression: true
                    },
                    audio: true
                });
            }
    
            else {
                throw new Error('User media not available');
            }
}
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda